package com.graduate.service;

import com.db.pojo.Information;

import java.util.List;
import java.util.Map;

/**
 * 信息模块调用service
 *
 * @Createtime : 2020-04-01
 * @Creator : jingchu
 * @finishtime :2020-04-02
 */
public interface InformationService {
    //信息表操作
    List<Information> getInformationList();

    Information getInformation(String table);

    int updateIdIndex(String table, int index,int update_index);

    //插入操作记录
    int insertRecords(String filedsValue);

    //单表操作
    int insertTable(String table, String fieldsName, String filedsValue);

    int updateTable(String table, String setSql,String id);

    Map<String, Object> selectTable(String table, String id, String fieldsMsg);

    List<Map<String, Object>> selectTableList(String table, String fieldsMsg, String qeurySql);

}
